This is a recompiled version of gwt maps.
It is recompiled using the same version as the one used to compile Vaadin.


About versions used to get GoogleMapWidget up and running:
-------------------------------------------------------------
The source code of gwt-maps is v1.0.4
GWT library used to compile gwt-maps is GWT v2.3.0
Made for Vaadin versions that are compiled with GWT 2.3.0.
Made to be able to use GoogleMapWidget v0.9.13.


Compatible versions of Vaadin
--------------------------------
Versions of Vaadin that are compiled with GWT v2.3.0 (and should be compatible) are at least:

Vaadin v6.6.x    view-source:http://vaadin.com/download/release/6.6/6.6.0/release-notes.html
Vaadin v6.7.x    http://vaadin.com/download/release/6.7/6.7.0/release-notes.html#dependencies
                 And probably all v6.7.x builds, at least up to v6.7.2...


How was the recompilation done?
----------------------------------
The idea of recompilation is not my idea but rather a combined idea from "N P" and "raffaele specia" in the Vaadin forums.
https://vaadin.com/forum/-/message_boards/view_message/153177#_19_message_604784
https://vaadin.com/forum/-/message_boards/view_message/153177#_19_message_681374
Thanks guys!

I needed this as I am not using Eclipse for the moment and that the current project I am working on is solely based maven dependencies and builds.
More on using GoogleMapWidget in maven later in a another post.

Well, the "gwt-maps.jar" is compiled and built according to googles instructions:
http://code.google.com/p/gwt-google-apis/wiki/GettingStartedSource

You will need:
Java v1.5 (or later)
Ant (for executing build scripts)
Subversion (for checking out source code)

Files to download were:
http://code.google.com/intl/sv-SE/webtoolkit/download.html or rather an older version of GWT (v2.3.0)
http://code.google.com/intl/sv-SE/webtoolkit/versions.html

Files to check out was quite straight forward.
I did however check out the trunk (as specified by google instructions in GettingStartedSource) of the complete google api project.
I am not sure how to check out a specific release version of gwt-maps and compile it. I did a minor attempt to do that but I did not succeed at the first and only attempt I made.

The description of building procedure is quite simple enough. Even I got it...
 * Some downloading and unzipping of files.
 * Some checking out of files from subversion
 * Some environment variable setting
 * And finally build execution

Of course this is not all just a walk in the park. Of course there were some minor hickups...
Compiling straight on using v2.3.0 of GWT failed on a module (not the gwt-maps module though).
What I did as solution was that I edited the build script "build.xml" (see below) to exclude all other modules but the gwt-maps module.
Finally I ran the edited script and got success.
The final jars (binary and doc) were located in the zip-file ${checkoutdir}/maps/build/dist/gwt-maps-0.0.0.zip


I hope this information will help out in the future
/Christian Andersson
2011-11-15 (In yyyy-mm-dd date format according to http://en.wikipedia.org/wiki/ISO_8601 ;) )



Build script "build.xml" (edited):
-------------------------------------
<?xml version="1.0"?>
<project name="Google API Library for GWT" default="build" basedir=".">
  <!-- "build" is the default when subprojects are directly targetted -->
  <property name="target" value="build"/>

  <!--
  <target name="search" description="Build AJAX Search">
    <ant dir="search" target="${target}"/>
  </target>
  <target name="gadgets" description="Build Gadgets">
    <ant dir="gadgets" target="${target}"/>
  </target>
  <target name="gears" description="Build Gears">
    <ant dir="gears" target="${target}"/>
  </target>
  -->
  <target name="maps" description="Build Maps">
    <ant dir="maps" target="${target}"/>
  </target>
  <!--
  <target name="visualization" description="Build Visualization">
    <ant dir="visualization" target="${target}"/>
  </target>
  <target name="ajaxloader" description="Build AjaxLoader">
    <ant dir="ajaxloader" target="${target}"/>
  </target>
  <target name="language" description="Build Language">
    <ant dir="language" target="${target}"/>
  </target>
  -->

  <!-- <target name="-do" depends="gadgets, gears, maps, search, visualization, ajaxloader, language" description="Run all subprojects"/> -->
  <target name="-do" depends="maps" description="Run all subprojects"/>

  <target name="build" description="Builds all of the APIs that make up the Google API Library for GWT">
    <antcall target="-do">
      <param name="target" value="build"/>
    </antcall>
  </target>
  <target name="dist-dev" description="Builds development version of the APIs that make up the Google API Library for GWT">
  <!--
    <ant dir="ajaxloader" target="dist-dev"/>
    <ant dir="gears" target="dist-dev"/>
    <ant dir="gadgets" target="dist-dev"/>
    <ant dir="language" target="dist-dev"/>
    -->
    <ant dir="maps" target="dist-dev"/>
    <!--
    <ant dir="search" target="dist-dev"/>
    <ant dir="visualization" target="dist-dev"/>
    -->
  </target>
  <target name="checkstyle" description="Static analysis of Google API Library for GWT source">
    <antcall target="-do">
      <param name="target" value="checkstyle"/>
    </antcall>
  </target>
  <target name="test" description="Tests all of the APIs that make up the Google API Library for GWT">
    <antcall target="-do">
      <param name="target" value="test"/>
    </antcall>
  </target>
  <target name="clean" description="Cleans the entire Google API Library for GWT build">
    <antcall target="-do">
      <param name="target" value="clean"/>
    </antcall>
  </target>
</project>
